<template>
  <div>
    <div>示例vue3组件</div>
    <div>{{ count }}</div>
    <div><b-button type="primary" @click="action">+1</b-button></div>
  </div>
</template>

<script setup>
import { ref } from 'vue'
import { Message } from 'bin-ui-design'
const count = ref(0)

function action() {
  console.log('action')
  count.value++
  Message('当前计数：' + count.value)
}
</script>

<style scoped></style>
